package com.wyl.dto.basic;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.wyl.dto.PortalAdvanceSearchRunParam;
import com.wyl.dto.PortalInferenceRunParam;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "componentType", visible = true)
@JsonSubTypes({
        @JsonSubTypes.Type(value = PortalAdvanceSearchRunParam.class, name = "advanceSearch"),
        @JsonSubTypes.Type(value = PortalInferenceRunParam.class, name = "inference")
})
public interface PortalRunParam {
}
